package com.dubbo.cp.IService;

import java.util.List;

import org.springframework.data.domain.Page;

import com.dubbo.cp.entity.BookEntity;

public interface BookService {
	
	public List<BookEntity> getBookList();
	
	public BookEntity getBookByBookName(String bookName);
	
	public BookEntity addBookEntity(BookEntity bookEntity);
	
	public BookEntity updateBookEntity(BookEntity bookEntity);
	
	public void deleteBookEntityById(Long id);
	
	public List<BookEntity> getCurrentBookList();
	
	public Page<BookEntity> getPageBookList();
	
	

}
